//酒企种类信息

import request from '@/utils/request'

// 酒企种类信息分页查询
export function page(pageParam) {
  return request({
    url: '/gscloud_winery/winery/winery_spu/page',
    method: 'get',
    params: pageParam
  })
}

//酒企种类信息条件查询
export function list(pageParam) {
  return request({
    url: '/gscloud_winery/winery/winery_spu/list',
    method: 'get',
    params: pageParam
  })
}

// 酒企种类信息更新
export function update(data) {
  return request({
    url: '/gscloud_winery/winery/winery_spu/update',
    method: 'put',
    data
  })
}

// 删除酒企种类信息
export function delete(winerySpuUuid) {
  return request({
    url: '/gscloud_winery/winery/winery_spu',
    method: 'delete',
    params:{
      winerySpuUuid
    }
  })
}
